home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeleteFile XCMD Stack.cpt / DeleteFile XCMD Stack / card_5224.txt < prev    next >
Text File  |  1989-02-26  |  1KB  |  37 lines

  1. -- card: 5224 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2411
  5. -- name: Instruction card 4
  6.  
  7.  
  8. -- part 3 (field)
  9. -- low flags: 01
  10. -- high flags: 2000
  11. -- rect: left=45 top=45 right=66 bottom=200
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 2
  16. -- text size: 12
  17. -- style flags: 256
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part contents for background part 1
  23. ----- text -----
  24.  
  25. Errors resulting from DeleteFile are reported in the global variable "the result."  Stack developers will not generally need to worry about this as the most common errors (file in use, file locked, disk locked) are handled by DeleteFile, which presents the user with an alert explaining what happened.  If no file was selected or if the user decided not to delete the selected file, this information is also returned in "the result."  These are the error messages which DeleteFile can return:
  26.  
  27.    No file was selected.
  28.    File deletion canceled by user.
  29.    OSErr:  Bad file name
  30.    OSErr:  External file system
  31.    OSErr:  File busy
  32.    OSErr:  File locked
  33.  
  34.  
  35. -- part contents for card part 3
  36. ----- text -----
  37. Errors